/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.ufrpe.bsi.pvs.view.assistant;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.SwingConstants;

import br.ufrpe.bsi.pvs.view.PvsFrame;

public class TelaDetalhamento extends javax.swing.JPanel {

	public static TelaDetalhamento INSTANCE = new TelaDetalhamento(); 
	
    /**
     * Creates new form TelaDetalhamento
     */
    private TelaDetalhamento() {
    	setBackground(Color.WHITE);
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

    	setPreferredSize(new Dimension(1300, 700));
        setLayout(null);
        
        JLabel lbl1 = new JLabel("Resultado");
        lbl1.setHorizontalAlignment(SwingConstants.CENTER);
        lbl1.setBackground(Color.BLACK);
        lbl1.setFont(new Font("Gabriola", Font.PLAIN, 36));
        lbl1.setForeground(Color.WHITE);
        lbl1.setBounds(86, 11, 1189, 48);
        lbl1.setOpaque(true);
        add(lbl1);
        
        JLabel label = new JLabel("");
        label.addMouseListener(new MouseAdapter() {
        	@Override
        	public void mouseClicked(MouseEvent arg0) {
        		PvsFrame.INSTANCE.home();
        	}
        });
        label.setIcon(new ImageIcon(TelaDetalhamento.class.getResource("/images/back.png")));
        label.setBounds(10, 11, 50, 48);
        add(label);
        


		
     // </editor-fold>//GEN-END:initComponents
    }
}
